import {API_CONFIG} from "../config/index.js";
import request from "./index.js";

// 节点列表
export const  getNodeListHandler = (clusterId)=>{
    console.log("查看节点列表")
    return request(API_CONFIG.getNodeListApi,{clusterId},"GET",2000)
}

// 更新节点
export const  updateNodeHandler = (clusterId,name,item)=>{
    console.log("查看节点列表")
    return request(API_CONFIG.updateNodeApi,{clusterId,name,item},"POST",2000)
}
